<style>
    .body{
        margin-left:20%;
    }
    .daan{
        margin-top: 10px;
    }
    .daan span{
        margin-right: 15px;
    }
    .inimages{
        width: 120px;
        height:150px;
        margin-right: 25px;
        cursor: pointer;
    }
    .mask {
        width:100%;
        height:1200px;
        background:gray;
        position:fixed;
        top:0;
        left:0;
        z-index:100;
        opacity:0.6;
        display:none;
    }
    .loginpage {
        width:600px;
        height:700px;
        position:fixed;
        top:50%;
        left:50%;
        transform:translateX(-50%) translateY(-50%);
        z-index:1000;
        overflow:hidden;
        background: #fff;
        display:none;
    }
    #bigimage{
        width: 90%;
        height:90%;
    }
    .close {
        position:absolute;
        top:10px;
        right:16px;
        cursor:pointer;
        color:#000;
    }
</style>
<div class="body">
    <!--遮罩层-->
    <div class="mask"></div>
    <div class="loginpage">
        <img id="bigimage" src="" alt="">
        <span class="close" onclick="imgcloise()">X</span>
    </div>
    <div>
        <div>基本信息栏</div>
        <p class="daan">
            <span>姓名：{$binfo.username}</span>
            <span>姓别：{$binfo.sex}</span>
            <span>年龄：{$binfo.age}岁</span>
        </p>
        <p><span>地址：{$binfo.address}</span></p>
        <p><span>手机号：{$binfo.mobile}</span></p>
        <div>初步问诊记录栏</div>
        <p class="daan"><span>1.喝水情况？</span> <?php
        if(strpos($info['water'],'A') !== false){ echo '<span>A 喜冷饮</span>';}
            if(strpos($info['water'],'B') !== false){ echo '<span>B 喜热饮</span>';}
            if(strpos($info['water'],'C') !== false){ echo '<span>C 口渴但不想喝水</span>';}
            if(strpos($info['water'],'D') !== false){ echo '<span>D 口渴想大量喝水</span>';}
            ?>
        </p>
        <p class="daan"><span>2.胃口？（可多选）</span>
            <?php
        if(strpos($info['appetite'],'A') !== false){ echo '<span>A 较差</span>';}
            if(strpos($info['appetite'],'B') !== false){ echo '<span>B 吃得多但容易饿</span>';}
            if(strpos($info['appetite'],'C') !== false){ echo '<span>C 想吃但吃不下</span>';}
            if(strpos($info['appetite'],'D') !== false){ echo '<span>D 伴有反酸、打嗝、胀气</span>';}
            if(strpos($info['appetite'],'E') !== false){ echo '<span>E 胃有烧心感</span>';}
            if(strpos($info['appetite'],'F') !== false){ echo '<span>F 伴有恶心、呕吐</span>';}
                ?>
        </p>
        <p class="daan"><span>3.大便情况？</span>
        <?php
    if(strpos($info['stool'],'A') !== false){ echo '<span>A 长期便秘</span>';}
            if(strpos($info['stool'],'B') !== false){ echo '<span>B 长期不成形</span>';}
            if(strpos($info['stool'],'C') !== false){ echo '<span>C 受凉易腹泻</span>';}
            if(strpos($info['stool'],'D') !== false){ echo '<span>D 大便先干后稀</span>';}
            if(strpos($info['stool'],'E') !== false){ echo '<span>E 大便不爽粘马桶（上厕所不痛快</span>';}
            if(strpos($info['stool'],'F') !== false){ echo '<span>F 大便伴有灼热感</span>';}
            ?>
        </p>

        <p class="daan"><span>4.大便颜色？</span>
        <?php
    if(strpos($info['stoolcolor'],'A') !== false){ echo '<span>A 黑</span>';}
            if(strpos($info['stoolcolor'],'B') !== false){ echo '<span>B 灰白</span>';}
            if(strpos($info['stoolcolor'],'C') !== false){ echo '<span>C 绿</span>';}
            if(strpos($info['stoolcolor'],'D') !== false){ echo '<span>D 便血</span>';}
            ?>
        </p>
        <p class="daan"><span>5.小便情况？（可多选）</span>
           <?php
        if(strpos($info['urinate'],'A') !== false){ echo '<span>A 夜尿次数多次</span>';}
                if(strpos($info['urinate'],'B') !== false){ echo '<span>B 尿频、尿急、尿不尽</span>';}
                if(strpos($info['urinate'],'C') !== false){ echo '<span>C 小便时有涩痛感</span>';}
                if(strpos($info['urinate'],'D') !== false){ echo '<span>D 尿血</span>';}
                if(strpos($info['urinate'],'E') !== false){ echo '<span>E 小便带有泡沫</span>';}
                ?>
        </p>
        <p class="daan"><span>6.小便颜色？</span>
           <?php
        if(strpos($info['urinatecolor'],'A') !== false){ echo '<span>A 黄（浓茶色）</span>';}
                if(strpos($info['urinatecolor'],'B') !== false){ echo '<span>B 红</span>';}
                if(strpos($info['urinatecolor'],'C') !== false){ echo '<span>C 淡黄</span>';}
                ?>
        </p>
        <p class="daan"><span>7.睡眠情况？（可多选）</span>
           <?php
        if(strpos($info['sleepcondition'],'A') !== false){ echo '<span>A 入睡困难</span>';}
                if(strpos($info['sleepcondition'],'B') !== false){ echo '<span>B 睡眠浅、易醒</span>';}
                if(strpos($info['sleepcondition'],'C') !== false){ echo '<span>C 睡眠时间短、多梦</span>';}
                if(strpos($info['sleepcondition'],'D') !== false){ echo '<span>D 睡眠不解乏</span>';}
                ?>
        </p>
        <p class="daan"><span>8.睡眠伴随症状？</span>
            <?php
        if(strpos($info['sleepsymptoms'],'A') !== false){ echo '<span>A 白天犯困</span>';}
                if(strpos($info['sleepsymptoms'],'B') !== false){ echo '<span>B 饭后犯困</span>';}
                if(strpos($info['sleepsymptoms'],'C') !== false){ echo '<span>C 嗜睡</span>';}
                if(strpos($info['sleepsymptoms'],'D') !== false){ echo '<span>D 睡觉流口水</span>';}
                if(strpos($info['sleepsymptoms'],'E') !== false){ echo '<span>E 睡觉打呼噜</span>';}
                ?>
        </p>
        <p class="daan"><span>9.情绪状况？（可多选）</span>
            <?php
        if(strpos($info['mood'],'A') !== false){ echo '<span>A 容易生气</span>';}
                if(strpos($info['mood'],'B') !== false){ echo '<span>B 容易忘事</span>';}
                if(strpos($info['mood'],'C') !== false){ echo '<span>C 容易焦虑、爱叹气</span>';}
                if(strpos($info['mood'],'D') !== false){ echo '<span>D 易受惊吓</span>';}
                if(strpos($info['mood'],'E') !== false){ echo '<span>E 思虑较多</span>';}
                ?>
        </p>

        <p class="daan"><span>10.身体感觉？（可多选）</span>
            <?php
        if(strpos($info['bodyg'],'A') !== false){ echo '<span>A 怕冷或手脚偏冷</span>';}
                if(strpos($info['bodyg'],'B') !== false){ echo '<span>B 怕热</span>';}
                if(strpos($info['bodyg'],'C') !== false){ echo '<span>C 怕风</span>';}
                if(strpos($info['bodyg'],'D') !== false){ echo '<span>D 忽冷忽热</span>';}
                if(strpos($info['bodyg'],'E') !== false){ echo '<span>E 手脚心热烫</span>';}
                if(strpos($info['bodyg'],'F') !== false){ echo '<span>F 上身热下身冷</span>';}
                ?>
        </p>
        <p class="daan"><span>11.出汗？（身上有潮润感也算出汗）（可多选）</span>
            <?php
        if(strpos($info['sweating'],'A') !== false){ echo '<span>A 稍活动就大汗淋漓</span>';}
                if(strpos($info['sweating'],'B') !== false){ echo '<span>B 平时出汗</span>';}
                if(strpos($info['sweating'],'C') !== false){ echo '<span>C 基本不出汗</span>';}
                if(strpos($info['sweating'],'D') !== false){ echo '<span>D 手足心出汗明显</span>';}
                if(strpos($info['sweating'],'E') !== false){ echo '<span>E 睡觉时容易出汗</span>';}
                if(strpos($info['sweating'],'F') !== false){ echo '<span>F 仅头部出汗</span>';}
                ?>
            </p>

        <p class="daan"><span>12.头咽部是否有以下情况？</span>
           <?php
        if(strpos($info['headpharynx'],'A') !== false){ echo '<span>A 头痛</span>';}
                if(strpos($info['headpharynx'],'B') !== false){ echo '<span>B 头晕</span>';}
                if(strpos($info['headpharynx'],'C') !== false){ echo '<span>C 咽干、咽痒</span>';}
                if(strpos($info['headpharynx'],'D') !== false){ echo '<span>D 咽部有异物感</span>';}
                if(strpos($info['headpharynx'],'E') !== false){ echo '<span>E 鼻塞、易流清涕</span>';}
                if(strpos($info['headpharynx'],'F') !== false){ echo '<span>F 眼睛干涩、视物模糊</span>';}
                ?>
            </p>
        <p class="daan"><span>13.咳嗽和痰？</span>
           <?php
        if(strpos($info['cough'],'A') !== false){ echo '<span>A 咳嗽</span>';}
                if(strpos($info['cough'],'B') !== false){ echo '<span>B 伴有气喘</span>';}
                if(strpos($info['cough'],'C') !== false){ echo '<span>C 伴有痰白量多</span>';}
                if(strpos($info['cough'],'D') !== false){ echo '<span>D 伴有黄痰</span>';}
                if(strpos($info['cough'],'E') !== false){ echo '<span>E 痰多泡沫状</span>';}
                ?>
            </p>
        <p class="daan"><span>14.胸腹部有没有以下情况？</span>
            <?php
        if(strpos($info['abdomen'],'A') !== false){ echo '<span>A 颈项后背部拘紧</span>';}
                if(strpos($info['abdomen'],'B') !== false){ echo '<span>B 胸部胀满</span>';}
                if(strpos($info['abdomen'],'C') !== false){ echo '<span>C 心慌、胸闷、气短</span>';}
                if(strpos($info['abdomen'],'D') !== false){ echo '<span>D 下腹部隐隐作痛</span>';}
                ?>
            </p>

        <p class="daan"><span>15.身体是否伴有以下情况？(妇科专用（已经绝经者无需填写）)</span>
           <?php
        if(strpos($info['health'],'A') !== false){ echo '<span>A 身体觉得困重、乏力</span>';}
                if(strpos($info['health'],'B') !== false){ echo '<span>B 四肢烦疼</span>';}
                if(strpos($info['health'],'C') !== false){ echo '<span>C 睡觉时四肢不自觉抽动 </span>';}
                if(strpos($info['health'],'D') !== false){ echo '<span>D 腰酸、腰痛</span>';}
                if(strpos($info['health'],'D') !== false){ echo '<span>E 脚后跟疼痛</span>';}
                ?>
            </p>
        <p class="daan"><span>16.是否处于特殊阶段？</span>
          <?php
        if(strpos($info['health1'],'A') !== false){ echo '<span>A 备孕中</span>';}
                if(strpos($info['health1'],'B') !== false){ echo '<span>B 孕期</span>';}
                if(strpos($info['health1'],'C') !== false){ echo '<span>C 哺乳期 </span>';}
                if(strpos($info['health1'],'D') !== false){ echo '<span>D 经期 </span>';}
                ?>
            </p>
        <p class="daan"><span>17.月经情况？</span>
           <?php
        if(strpos($info['health2'],'A') !== false){ echo '<span>A 月经提前</span>';}
                if(strpos($info['health2'],'B') !== false){ echo '<span>B 月经推后</span>';}
                if(strpos($info['health2'],'C') !== false){ echo '<span>C 月经先后不定期 </span>';}
                ?>
            </p>
        <p class="daan"><span>18.经期是否伴随以下症状？（可多选）</span>
           <?php
        if(strpos($info['health3'],'A') !== false){ echo '<span>A 伴有痛经</span>';}
                if(strpos($info['health3'],'B') !== false){ echo '<span>B 经色暗、伴有血块</span>';}
                if(strpos($info['health3'],'C') !== false){ echo '<span>C 经量多 </span>';}
                if(strpos($info['health3'],'D') !== false){ echo '<span>D 经量少</span>';}
                ?>
            </p>
        <p class="daan"><span>19.带下情况？</span>
            <?php
        if(strpos($info['health4'],'A') !== false){ echo '<span>A 带下色白量多</span>';}
                if(strpos($info['health4'],'B') !== false){ echo '<span>B 带下呈豆腐渣样</span>';}
                if(strpos($info['health4'],'C') !== false){ echo '<span>C 带下色黄 </span>';}
                if(strpos($info['health4'],'D') !== false){ echo '<span>D 带下伴有异味</span>';}
                ?>
            </p>
        <p class="daan"><span>20.经期感觉？（可多选）</span>
            <?php
        if(strpos($info['health5'],'A') !== false){ echo '<span>A 乳房胀痛</span>';}
                if(strpos($info['health5'],'B') !== false){ echo '<span>B 腰酸、腰困</span>';}
                if(strpos($info['health5'],'C') !== false){ echo '<span>C 小腹坠胀</span>';}
                if(strpos($info['health5'],'D') !== false){ echo '<span>D 头痛</span>';}
                ?>
        </p>
        <p class="daan"><span>其他症状:</span><span>{$info.content}</span></p>
        <div>
            <p>病史：</p>
            <div>
                {volist name="$info.images" id="vo"}
                {if condition="$vo != ''"}
                <img class="inimages" src="{$vo}" onclick="big('{$vo}')">
                {/if}
                {/volist}
            </div>
        </div>
    </div>
</div>


<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>

<script type="application/javascript">
    function big(url) {
        $(".mask").show()
        $(".loginpage").show()
        $("#bigimage").attr('src',url)
    }
    function imgcloise() {
        $(".mask").hide()
        $(".loginpage").hide()
    }
</script>